home *** CD-ROM | disk | FTP | other *** search
/ Windows 32-Bit Gallery / Windows 32-bit Gallery.iso / win95 / winbatch / ddetest.wb_ < prev    next >
Text File  |  1996-11-20  |  2KB  |  55 lines

  1. ;;Call script for Adding/Deleting/Showing Program Manager Groups and Icons.  
  2.                
  3.                ;;Written February 1994  by Wilson WindowWare, Inc.  
  4.  
  5.  
  6. ;;Call Progman.wil
  7. ;;
  8. ;;Syntax of commands:
  9. ;;    Call("progman.wil", "AddGroup 'Group Title'")
  10. ;;        (             , "DelGroup 'Group Title'")
  11. ;;        (             , "AddIcon 'Group Title' 'File and Path' 'Icon Description'")
  12. ;;        (             , "DelIcon 'Group Title' 'Icon Description'")
  13. ;;        (             , "ShowGroup 'Group Title' ShowCommand")
  14. ;;        (             , "ReplaceItem "Group Title' 'Icon Description'")
  15. ;;        (             , "Reload 'Group Title'")
  16.  
  17.  
  18. ;;Show command is an integer which specifies the action Program Manager is to perform on the group window.
  19. ;;        VALUE          ACTION
  20. ;;          1               Restores group to its original size and position.
  21. ;;          2               Displays group as an icon.
  22. ;;          3               Displays group as a maximized window.
  23. ;;          6               Minimizes the group window.
  24. ;;                                 
  25.  
  26. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  27. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  28.  
  29. Call("progman.wil", "ADDGroup 'Musk Oil' ")
  30. delay(2)
  31. Call("Progman.wil", "AddIcon 'Frog Legs' 'C:\windows\clock.exe' 'tick tock' ")
  32. delay(2)
  33. Call("progman.wil", "DelGroup 'Musk Oil' ")
  34. delay(2)
  35. Call("Progman.wil", "ReplaceItem 'FrogLegs' 'tick tock'")
  36. delay(2)
  37. Call("Progman.wil", "AddIcon 'Frog Legs' 'C:\WINDOWS\NOTEPAD.EXE' 'Notepad' ")
  38. delay(2)
  39. Call("progman.wil", "DelIcon 'Frog Legs' 'Notepad'")
  40. delay(2)
  41. Call("progman.wil", "DelGroup 'Frog Legs' ")
  42. delay(2)
  43. Call("Progman.wil", "ShowGroup 'Main' 1 ")
  44. delay(2)
  45. Call("Progman.wil", "ShowGroup 'Main' 2 ")
  46. delay(2)
  47. Call("Progman.wil", "ShowGroup 'Main' 3 ")
  48. delay(2)
  49. Call("Progman.wil", "ShowGroup 'Main' 6 ")                         
  50. delay(2)
  51. Call("Progman.wil", "Reload 'Accessories'")
  52.  
  53.  
  54.  
  55.